home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / splt230w.zip / PAPERS.TXT < prev    next >
Text File  |  1995-05-02  |  9KB  |  183 lines

  1.  
  2.        S P L O T  -  The Pen Plotter Simulator V2.3 for Windows
  3.        --------------------------------------------------------
  4.            Copyright (C) 1991-95 by Alexandr NOVY
  5.                  All rights reserved.
  6.  
  7.                   April 1995
  8.  
  9.                   PAPERS.TXT
  10.  
  11.          This file describes how to define custom paper sets used  by
  12.     the SPLOT program for individual plotter types.
  13.  
  14.          A paper set is a group of maximum 30 paper sizes from  which
  15.     you can select default paper size (plotter hard-clip  limits)
  16.     in  the  Paper  Size  dialog.  The  number  30  has origin in
  17.     combination of  3   possible norms  (ANSI,ISO,Architectural),
  18.     5  possible  formats  (A,B,C,D,E  for  ANSI  or  ARCH   norm;
  19.     A4,A3,A2,A1,A0 for ISO norm) and 2 possible modifiers  (named
  20.     NORMAL and EXPAND). You must define at least one valid  paper
  21.     size to create a valid paper set.
  22.  
  23.          The SPLOT program  searches for user  defined paper sets  in
  24.     the PAPERS.INI file which conforms to Windows  initialization
  25.     file format. Each found section  defines a new paper set  (if
  26.     it is valid) except the [PAPERS] section which defines  paper
  27.     set  assignments  to  individual  plotter  types.   The SPLOT
  28.     program first searches for the PAPERS.INI file in the startup
  29.     directory, then in the program directory.
  30.  
  31.          Because of the present version of the SPLOT program has  not
  32.     a paper set  edit dialog built  in, you should  edit directly
  33.     the PAPERS.INI file to  create, redefine or delete  any paper
  34.     set. The paper set assignment to the current plotter type can
  35.     be done in the Paper Size dialog.
  36.  
  37.          The general syntax for defining a paper set is:
  38.  
  39.         [PAPER_SET_NAME]
  40.         keyword1 = ...
  41.         keyword2 = ...
  42.         .
  43.         .
  44.         .
  45.  
  46.      The valid paper  size is defined  by its X  and Y dimensions
  47.     expressed  in  plotter  units  and  is  identical  to plotter
  48.     hard-clip limits  (see your  HP-GL or  HP-GL/2 reference  for
  49.     description  of  plotter  hard-clip  limits). The one plotter
  50.     unit is equal to 0.025 mm. The larger dimension of the  paper
  51.     size always represents the  X axis in non-rotated  state (see
  52.     your  HP-GL  or  HP-GL/2  reference  for  description  of  RO
  53.     instruction). These  plotter types  do not  accept a  plotter
  54.     size dimension  larger than  32767 plotter  units:   HP7470A,
  55.     HP7475A, HP7440A,  HP DraftPro  7570A and  Roland DXY.   Note
  56.     that you can  define only the  dimensions of the  paper size.
  57.     The origin  of plotter  coordinates is  determined by plotter
  58.     type. These  plotter types  have origin  always in lower-left
  59.     corner of  the hard-clip  limits:   HP-GL/2 plotter, HP7470A,
  60.     HP7475A,  HP7440A  and  HP7550A.  These  plotter  types  have
  61.     normally origin in center  of the hard-clip limits,  although
  62.     the SPLOT program enables  you set origin also  in lower-left
  63.     corner: HP DraftPro, HP DraftMaster, Roland GRX 300/400.
  64.  
  65.     Syntax for paper size definition:
  66.      PKEYWORD = Xdimension x Ydimension
  67.        or
  68.      PKEYWORD = Xdimension,Ydimension
  69.     where PKEYWORD idnetifies the defined paper size (see the
  70.     list bellow).
  71.  
  72.     Examples:
  73.          ANSI_A=10170 x 7840
  74.          ISO_A4=2*4820 x 2*3560
  75.          ISO_A4E=2*5260 x 2*4000
  76.  
  77.         Note  that  you  can  use  simple multiplication in dimension
  78.         definition. It  facilitates you  to enter  dimensions if your
  79.         plotter  has  origin  of  plotter  coordinates  in  center of
  80.     hard-clip limits  and you  know hard-clip  limits coordinates
  81.     (e.g. -4820,-3560, 4820,3560).
  82.  
  83.         List of all paper size keywords:
  84.          ANSI_A  - defines dimensions of ANSI A NORMAL paper size
  85.          ANSI_AE - defines dimensions of ANSI A EXPANDED paper size
  86.          ANSI_B  - defines dimensions of ANSI B NORMAL paper size
  87.          ANSI_BE - defines dimensions of ANSI B EXPANDED paper size
  88.          ANSI_C  - defines dimensions of ANSI C NORMAL paper size
  89.          ANSI_CE - defines dimensions of ANSI C EXPANDED paper size
  90.          ANSI_D  - defines dimensions of ANSI D NORMAL paper size
  91.          ANSI_DE - defines dimensions of ANSI D EXPANDED paper size
  92.          ANSI_E  - defines dimensions of ANSI E NORMAL paper size
  93.          ANSI_EE - defines dimensions of ANSI E EXPANDED paper size
  94.          ISO_A4  - defines dimensions of ISO A4 NORMAL paper size
  95.          ISO_A4E - defines dimensions of ISO A4 EXPANDED paper size
  96.          ISO_A3  - defines dimensions of ISO A3 NORMAL paper size
  97.          ISO_A3E - defines dimensions of ISO A3 EXPANDED paper size
  98.          ISO_A2  - defines dimensions of ISO A2 NORMAL paper size
  99.          ISO_A2E - defines dimensions of ISO A2 EXPANDED paper size
  100.          ISO_A1  - defines dimensions of ISO A1 NORMAL paper size
  101.          ISO_A1E - defines dimensions of ISO A1 EXPANDED paper size
  102.          ISO_A0  - defines dimensions of ISO A0 NORMAL paper size
  103.          ISO_A0E - defines dimensions of ISO A0 EXPANDED paper size
  104.          ARCH_A  - defines dimensions of ARCH A NORMAL paper size
  105.          ARCH_AE - defines dimensions of ARCH A EXPANED paper size
  106.          ARCH_B  - defines dimensions of ARCH B NORMAL paper size
  107.          ARCH_BE - defines dimensions of ARCH B EXPANED paper size
  108.          ARCH_C  - defines dimensions of ARCH C NORMAL paper size
  109.          ARCH_CE - defines dimensions of ARCH C EXPANED paper size
  110.          ARCH_D  - defines dimensions of ARCH D NORMAL paper size
  111.          ARCH_DE - defines dimensions of ARCH D EXPANED paper size
  112.          ARCH_E  - defines dimensions of ARCH E NORMAL paper size
  113.          ARCH_EE - defines dimensions of ARCH E EXPANED paper size
  114.  
  115.       Along  with  a  paper  size  you  can define default scaling
  116.     points for this  paper size. The  scaling points are  used by
  117.     the SC (scale) instruction to establish user-unit scaling and
  118.     can be  redefined by  the IP  instruction (see  your HP-GL or
  119.     HP-GL/2  reference  for  details).  You  can  define  default
  120.     scaling points as relative or absolute. If you do not  define
  121.     any  default  scaling  points  for  a paper size, the default
  122.     scaling  points  are  always  identical  to  hard-clip  limit
  123.     corners.
  124.  
  125.      The  relative  scaling  points  are determined relatively to
  126.     lower-left  and  upper-right  corners  of  paper size and are
  127.     expressed in plotter units. When you define relative  scaling
  128.     points,  they  are  defined  for  entire  paper  set  and all
  129.     absolute scaling  points definitions  in this  paper set  are
  130.     ignored.  These  plotter  types  use  only  relative  scaling
  131.     points:  HP DraftPro, HP DraftMaster, Roland GRX 300/400  and
  132.     HP-GL/2 plotter. For the HP-GL/2 plotter the default  scaling
  133.     points are always identical  to hard-clip limit corners  (they
  134.     are zero relative), so it ignores all default scaling  points
  135.     definitions.
  136.  
  137.     Syntax for relative scaling points definition:
  138.      IP_REL = P1X_REL,P1Y_REL,P2X_REL,P2Y_REL
  139.     Default scaling points are computed as follows:
  140.      P1X_DEF=MIN_PLT_X+P1X_REL
  141.      P1Y_DEF=MIN_PLT_Y+P1Y_REL
  142.      P2X_DEF=MAX_PLT_X-P2X_REL
  143.      P2Y_DEF=MAX_PLT_Y-P2Y_REL
  144.  
  145.     Example:
  146.      IP_REL = 600,600,600,600
  147.      ; default for HP DraftMaster, DraftPro and Roland GRX
  148.  
  149.  
  150.          The  absolute  scaling  points  are  determined  in absolute
  151.     plotter  coordinates  and  can  be  defined  separately   for
  152.     non-rotated and  rotated states  (see your  HP-GL or  HP-GL/2
  153.     reference for description of RO instruction). If the  rotated
  154.     scaling points are not  separately defined, they are  created
  155.     by rotation of non-rotated scaling points.  Note that if  you
  156.     define relative scaling points,  they are defined for  entire
  157.     paper set and all absolute scaling points definitions in this
  158.     paper set are ignored. Also note that these plotter types use
  159.     only relative scaling points and ignore all absolute  scaling
  160.     points definitions: HP  DraftPro, HP DraftMaster,  Roland GRX
  161.     300/400 and HP-GL/2 plotter.
  162.  
  163.         Syntax for absolute scaling points definition:
  164.      IP_PKEYWORD = P1X_ABS,P1Y_ABS,P2X_ABS,P2Y_ABS
  165.        for non-rotated absolute scaling points
  166.      IPR_PKEYWORD = P1RX_ABS,P1RY_ABS,P2RX_ABS,P2RY_ABS
  167.        for rotated absolute scaling points
  168.     where PKEYWORD idnetifies the corresponding paper size (see
  169.     the list above) and P1X(R)_ABS < P2X(R)_ABS and
  170.     P1Y(R)_ABS < P2Y(R)_ABS.
  171.  
  172.         Examples:
  173.      IP_ISO_A4=603,521,10603,7721
  174.       ; non-rotated absolute scaling points for ISO A4 NORMAL
  175.         paper size
  176.      IPR_ISO_A4=0,610,7200,10610
  177.       ; rotated absolute scaling points for ISO A4 NORMAL paper
  178.         size
  179.  
  180.  
  181.     For more examples study  the PAPERS.INI file included  in the
  182.     SPLOT package.
  183.